-
Home
-
Tiered Pricing Table for WooCommerce
-
5.1.2
-
Code
-
Classes
- RoleBasedPriceManager
Total Complexity |
52 |
Dependencies |
1 |
Dependents |
3 |
Total lines |
260 |
Lines of code |
156 |
Logical lines of code |
95 |
Comment lines |
11 |
Methods |
14 |
Properties |
0 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getPriceRules() |
A |
51 |
9 |
26 |
roleHasRules() |
A |
52 |
9 |
24 |
getProductQtyMin() |
S |
57 |
5 |
16 |
getPricingType() |
S |
59 |
5 |
12 |
deleteAllRoleDataForProduct() |
S |
66 |
3 |
8 |
getProductRegularRolePrice() |
S |
64 |
3 |
9 |
getProductSaleRolePrice() |
S |
64 |
3 |
9 |
getProductDiscount() |
S |
64 |
3 |
9 |
getProductDiscountType() |
S |
65 |
3 |
8 |
getProductPricingType() |
S |
64 |
3 |
9 |
variationHasNoOwnRules() |
S |
65 |
3 |
8 |
deleteAllDataForRole() |
S |
61 |
1 |
12 |
getFixedPriceRules() |
S |
78 |
1 |
3 |
getPercentagePriceRules() |
S |
78 |
1 |
3 |